import { createBrowserRouter } from 'react-router-dom'
import App from '../App'
import Home from '../props/home/Index'
import Homelist from '../props/homelist/Index'
import My from '../props/my/Index'
import Our from '../props/our/Index'
import City from '../props/city/Index'
const routers = createBrowserRouter([
    {
        path: '/',
        element: <App></App>,
        children: [
            {index:true,element:<Home></Home>},
            {
                path: 'home',
                element: <Home></Home>
            },
            {
                path: 'homelist',
                element: <Homelist></Homelist>
            },
            {
                path: 'our',
                element: <Our></Our>
            },
            {
                path: 'my',
                element: <My></My>
            },
            {
                path:'city',
                element:<City></City>
            },
        ]
    }
])
export default routers